package com.bdmc.smokesensor.dao;
 

import java.io.Serializable;
import java.util.List;

import com.bdmc.smokesensor.entity.Smk_Buildings;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
 
public interface Smk_BuildingsJPA extends JpaRepository<Smk_Buildings,Integer>,JpaSpecificationExecutor<Smk_Buildings>,Serializable {
  public Page<Smk_Buildings> findBySmkGroupCompanyId(int smkGroupCompanyId,Pageable pageable);

  public Long countBySmkGroupCompanyId(int smkGroupCompanyId);

  public List<Smk_Buildings> findByOpenid(String openid);

  public List<Smk_Buildings> findByManagerMobile(String managerMobile);


}
